package org.example.student_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.student_system.entity.Teacher;

@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    @Select("select * from student_system.teacher where username=#{username} and password=#{password}")
    Teacher Login(String username, String password);
}
